package com.lplb.common.coreconfig.feign;


import com.lplb.api.admin.model.dto.AdminAuthDTO;
import com.lplb.common.core.result.R;
import io.swagger.annotations.ApiOperation;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import java.util.List;

/**
 * 系统模块--> 资源列表
 *
 * @author ws
 * @mail 1720696548@qq.com
 * @date 2020/3/6 0006 11:54
 * @return
 */
@Component
@FeignClient("lplb-api-server-admin")
public interface RAdminAuthServiceFeign {//extends RIAdminAuthService {

    @RequestMapping(value = "/rpc/adminAuth/updList", method = RequestMethod.POST)
    @ApiOperation("添加更新管理平台接口注意")
    R<Void> updList(@RequestBody List<AdminAuthDTO> adminAuthDTO);

}
